package com.zx.task.manager.vo;

import com.zx.task.manager.model.Tasks;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * <p>
 * description: 任务信息视图对象 <br>
 * create: 2025-10-13 20:15
 * </p>
 *
 * @author zhou  xun
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class TasksVO extends Tasks implements Serializable {
    /**
     * 任务类型名称
     */
    private String taskTypeName;

    /**
     * 任务类型颜色
     */
    private String taskTypeColor;

    /**
     * 优先级描述
     */
    private String priorityDesc;

    /**
     * 状态描述
     */
    private String statusDesc;

    /**
     * 严重程度描述
     */
    private String severityDesc;

    /**
     * 是否有子任务
     */
    private Boolean hasChildren;
}